<?php
$this->registerCssFile('/status/tag/tag.css',[ 'depends'=> 'backend\assets\AppAsset']);
?>
<div class="ibox-title">
	<h5>标签列表</h5>
</div>
<div class="ibox-content timeline">
    <em style="color: red">点击删除</em>
    <div class="cloud">
        <?php if(Yii::$app->session->hasFlash('info')){echo Yii::$app->session->getFlash('info');} ?>
            <ul>
                <?php if(isset($tagdata)): ?>
                    <?php foreach($tagdata as $k=>$v): ?>
                        <li><a href="<?= \yii\helpers\Url::toRoute(['del', 'tagid' => $v['tagid']])?>" title="点我删除"><?= $v['tagname'];?></a></li>
                    <?php endforeach; ?>
                <?php endif; ?>
            </ul>
    </div>
</div>